import request from '@/config/request.js';

// 获取移库单列表
export const moveOrder = (params) => request.post('/api/moveWareHouse/task_list', params)

// 完成移库任务单
export const comfirmOrder = (params) => request.post('/api/moveWareHouse/updateStatus', params)

// 获取容器详情
export const containerDetail = (params) => request.post('/api/moveWareHouse/containerDetail', params)

// 扫物料号获得批次号
export const getBoxNoAPI = (params) => request.post('/api/moveWareHouse/materialDetail ', params)

// 绑定/解绑
export const bind = (params) => request.post('/api/moveWareHouse/reBind', params)

// --------------------------------------------------new------------------------------------------------

export const getDetailAPI = (params) => request.get(`/api/outboundSorting/mergeSortingTask/${params}`, params)